package com.product.service;

import com.product.entity.OperationLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.product.utils.PageUtils;

import java.util.List;

public interface IOperationLogService extends IService<OperationLog> {

    PageUtils getAllOperator(Integer size, Integer current, Integer userId, Integer operatorType, Integer timeOrderBy);

    void deleteOperator(Integer operatorId);

    void deleteOperators(List<Integer> operatorIds);

    List<OperationLog> getLogByUserId(Integer userId);

    void addOperation(Integer operatorType, String message);
}
